package com.wmh.baseservice.skd.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wmh.baseservice.skd.pojo.SkdMemberInfo;
import com.wmh.baseservice.skd.service.SkdMemberInfoService;
import com.wmh.baseservice.skd.mapper.SkdMemberInfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author CH
* @description 针对表【skd_member_info】的数据库操作Service实现
* @createDate 2023-12-18 10:30:40
*/
@Service
public class SkdMemberInfoServiceImpl extends ServiceImpl<SkdMemberInfoMapper, SkdMemberInfo>
    implements SkdMemberInfoService{

    @Resource
    private SkdMemberInfoMapper skdMemberInfoMapper;

    @Override
    public Long getLeaderIdByUsIdAndGroupGoodsId(Long usId, Long groupGoodsId) {
        return skdMemberInfoMapper.getLeaderIdByUsIdAndGroupGoodsId(usId, groupGoodsId);
    }
}




